<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>addAssetcatalog</title>
<%@include file="../header.html"%>

</head>
<%String side_bar_page = basePath+"side_bar.jsp"; %>


<script type="text/javascript" src="./js/validator.js"></script>


<body>
	<div>
		<jsp:include page="../side_bar.jsp" flush="true" />
		<jsp:include page="../top_bar.jsp" flush="true" />

	</div>
	<section class="content" style="width:87%; float:right; margin:15px;">
	<div class="row">
		<div class="col-xs-12">
			<div class="box">
				<div class="box-header">
					<h3 class="box-title">资产盘点明细</h3>
				</div>
				<!-- /.box-header -->
				<div class="box-body">
					<div id="example2_wrapper"
						class="dataTables_wrapper form-inline dt-bootstrap">
						<div class="row">
							<div class="col-sm-6"></div>
							<div class="col-sm-6"></div>
						</div>
						<div class="row">
							<div class="col-sm-12">

								<form
									action="my_assetcheckdetail_doAdd_success_assetcheckMain.action"
									method="post" onSubmit="return Validator.Validate(this,3)">
									<table  align="center">

										<tr>
											<td width="150px" align="right"><label>资产盘点ID  &nbsp; </label></td>
											<td width="350px"><input class="form-control"
												type="text" name="assetcheckdetail.assetcheck.assetcheckid"
												value="${assetcheckid}" readonly="readonly" /></td>
										</tr>
										<tr>
											<td></br>
											</td>
										</tr>
										<tr height="26px">
											<td width="150px" align="right"><label>资产名称  &nbsp; </label></td>
											<td width="350px"><select class="form-control"
												name=assetcheckdetail.asset.assetid>
													<option value=""></option>
													<c:forEach var="asset" items="${assets }">
														<option value=${asset.assetid }>${asset.assetname
															}</option>
													</c:forEach>
											</select></td>

										</tr>
										<tr>
											<td></br>
											</td>
										</tr>
										<tr height="26px">
											<td width="150px" align="right"><label>盘点时间  &nbsp; </label>
											</td>
											<td width="350px"><input type="text"
												name="assetcheckdetail.checktime"
												value="2016-05-12 21:29:00.000000" dataType="Require"
												msg="输入不能为空" /></td>
										</tr>
										<tr>
											<td></br>
											</td>
										</tr>
										<tr height="26px">
											<td width="150px" align="right"><label> 盘点结果  &nbsp; </label></td>
											<td width="350px"><input class="form-control"
												type="text" name="assetcheckdetail.checkresult"
												dataType="Require" msg="输入不能为空" value="" /></td>
									</table>
									<tr>
											<td></br>
											</td>
										</tr>
									<div style="text-align:center;">
										<button onclick="window.history.back(-1)" type="button"
											class="btn btn-default btn-sm" data-dismiss="modal">返回</button>
										<button type="submit" class="btn btn-primary btn-sm">提交</button>
									</div>

								</form>
								<!--   
    <input type="button" id="querylist" value="querylist" onclick="querylist()" /> 
       <script type="text/javascript">
           window.onload = function() {
      //    document.getElementById("querylist").click();
           }
            function querylist() {
          //  alert();
            window.location.href="./adduserdemoview.action";
           
            }
        
            
    </script> -->

							</div>
							</div></div></div></div></div></div></section>
							<%@include file="../footer.html"%>
</body>
</html>
